﻿using System.Collections.Generic;

namespace FRMS.Model
{
    public class QRCodeInfo
    {
    }

    public class AddAuditInfo
    {
        public string method { get; set; }
        public QRCodeAuditInfoData data { get; set; }
        public string ProjectKey { get; set; }//项目key
    }

    public class QRCodeAuditInfoData
    {
        public int AuditID { get; set; }//申请记录ID
        public string OwnerName { get; set; }//业主名称
        public string OwnerAddress { get; set; }//业主地址
        public string Phone { get; set; }//联系方式
        public string ApplicationTime { get; set; }//申请时间

    }

    public class AddAuditInfoReturn
    {
        public string method { get; set; }
        public QRCodeAuditInfoReturnData data { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
    }

    public class QRCodeAuditInfoReturnData
    {
        public int AuditID { get; set; }//申请记录ID
        public string ProjectKey { get; set; }//项目key
    }

    public class QRCodeVoucherInfo
    {
        public string method { get; set; }

        public List<QRCodeVoucherInfoData> data { get; set; }
        public string ProjectKey { get; set; }//项目key
    }

    public class QRCodeVoucherInfoData
    {
        public int auditid { get; set; }
        public string deviceName { get; set; }
        public string deviceNo { get; set; }
        public List<QRCodeVoucherInfoFloorInfo> floor { get; set; }
    }

    public class QRCodeVoucherInfoFloorInfo
    {

        public string startTime { get; set; }
        public string endTime { get; set; }
        public string dfloor { get; set; }
        public int pfloor { get; set; }
        public string qrcodeData { get; set; }
    }

    public class QRCodeVoucherInfoReturn
    {
        public string method { get; set; }
        public List<QRCodeVoucherInfoReturnData> data { get; set; }
       
        public int code { get; set; }
        public string msg { get; set; }
    }

    public class QRCodeVoucherInfoReturnData
    {
        public int auditid { get; set; }
        public string deviceName { get; set; }
        public string deviceNo { get; set; }
        public string project_key { get; set; }
        public int result { get; set; }
    }

    public class DeleteQRCodeVoucherInfo
    {
        public string method { get; set; }

        public List<DeleteQRCodeVoucherInfoData> data { get; set; }
        public string ProjectKey { get; set; }//项目key
    }

    public class DeleteQRCodeVoucherInfoData
    {
        public string deviceNo { get; set; }
    }

    public class QRCodeAudit
    {
        public string method { get; set; }

        public List<QRCodeAuditData> data { get; set; }
        public string ProjectKey { get; set; }//项目key
    }

    public class QRCodeAuditData
    {
        public int AuditID { get; set; }//申请记录ID
        public int AuditStatus { get; set; }//审核状态
        public string AuditStatusTime { get; set; }//审核时间
    }

    public class QRCodeAuditReturn
    {
        public string method { get; set; }

        public List<QRCodeAuditReturnData> data { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
    }

    public class QRCodeAuditReturnData
    {
        public int AuditID { get; set; }//申请记录ID
        public string project_key { get; set; }
        public int result { get; set; }
    }

    public class UnSyncAudit
    {
        public string method { get; set; }
        public string ProjectKey { get; set; }//项目key
    }

    public class UnSyncAuditReturn
    {
        public string method { get; set; }

        public List<QRCodeAuditInfo> data { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
    }

    public class UpdateUnSyncAuditFlag
    {
        public string method { get; set; }
        public string ids { get; set; }
        public string ProjectKey { get; set; }//项目key
    }

}
